package com.lqq.demo5;

public class Grade {
    String gradeId;
    String gradeName;
    String gradeAddress;

    public Grade() {
    }

    public Grade(String gradeId, String gradeName, String gradeAddress) {
        this.gradeId = gradeId;
        this.gradeName = gradeName;
        this.gradeAddress = gradeAddress;
    }

    public void print(){
        System.out.println("年级编号：" + gradeId + "\n年级名称：" + gradeName + "\n年级地址：" + gradeAddress);
    }
}
